package com.fhx.core.view

import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import androidx.viewpager.widget.ViewPager

class NoScrollViewPager(
    context: Context,
    attributeSet: AttributeSet?
):
    ViewPager(context,attributeSet) {

    constructor(context: Context):this(context,null)

    override fun onTouchEvent(ev: MotionEvent?): Boolean {
        return false
    }

    override fun onInterceptTouchEvent(ev: MotionEvent?): Boolean {
        return false
    }
}